/*
Dominique Jannone
Guillaume Marre
Yohan Ojeda
Laurent Schiavon
*/
package model;

import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;

public interface serviceInt {
	
	// Contrat de service
	
	Object[] ReceptionObjetFromClient(UserServerDelegate usd, int tailleLigne, ObjectInputStream ois);
	
	Object[][] ReceptionObjet2DFromClient(UserServerDelegate usd, int tailleLigne, int tailleColonne, ObjectInputStream ois);
	
	boolean EnvoiObjectFromServerToClient(UserServerDelegate usd, Object[] value, ObjectOutputStream oos) ;
	
	boolean EnvoiObject2DFromServerToClient(UserServerDelegate usd,Object[][] value, ObjectOutputStream oos) ;
	 
	boolean EnvoiReponseACK(String id , String description, boolean resultat, ObjectOutputStream oos);
	
	Object[] ReceptionACKFromClient(UserServerDelegate usd, ObjectInputStream ois);
	
	
	

}